package web.service.impl;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import web.dao.KbaseDao;
import web.entity.User2;
import web.mapper.UserMapper2;
import web.service.UserService2;


import javax.annotation.Resource;

/**
 * Description:
 *
 * @author BaiGe
 * @date: 2022/4/19 10:31
 * @Version 1.0
 */
@Service
public class UserServiceImpl2 implements UserService2 {
    @Autowired
    private UserMapper2 userMapper2;
    @Resource(name = "kbase123")
    private KbaseDao kbaseDao;
    @Override
    public User2 slave1(Long id) {
        return userMapper2.slave1(id);
    }

    @Override
    public User2 slave2(Long id) {
        return userMapper2.slave2(id);
    }

    @Override
    public User2 kbase(Long id) {
        return kbaseDao.kbase(id);
    }
}
